<?php echo $header; ?>
<div class="container make-bg">
<?php echo $content_top; ?>

  <ul class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
      <?php echo $breadcrumb['separator']; ?>
      <a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </ul>
  <div class="row">
    <div class="span9 post">
        <h2 class="page-header"><span>Sitemap Page</span></h2>
        <div class="sidebar-line"><span></span></div>
              <div style="margin-top:40px" class="row-fluid store-categories">
              <div class="span3 bullet_arrow2">
                  <h4>Pages</h4>
                   <ul>
                    <li><a data-toggle="tooltip" data-placement="top" title="<?php echo $text_special; ?>"  href="<?php echo $special; ?>"><?php echo $text_special; ?></a></li>
                      <li><a data-toggle="tooltip" data-placement="top" title="<?php echo $text_cart; ?>" href="<?php echo $cart; ?>"><?php echo $text_cart; ?></a></li>
                    <li><a data-toggle="tooltip" data-placement="top" title="<?php echo $text_checkout; ?>" href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></li>
                    <li><a data-toggle="tooltip" data-placement="top" title="<?php echo $text_search; ?>" href="<?php echo $search; ?>"><?php echo $text_search; ?></a></li>
                    <li><a data-toggle="tooltip" data-placement="top" title="<?php echo $text_contact; ?>" href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
                  </ul>
                </div>
              <div class="span3 bullet_arrow2">
                  <h4></h4>
                   <ul>
                    <li><a  data-toggle="tooltip" data-placement="top" title="<?php echo $text_account; ?>" href="<?php echo $account; ?>"><?php echo $text_account; ?></a>
                      <ul>
                        <li><a data-toggle="tooltip" data-placement="top" title="<?php echo $text_edit; ?>" href="<?php echo $edit; ?>"><?php echo $text_edit; ?></a></li>
                        <li><a data-toggle="tooltip" data-placement="top" title="<?php echo $text_password; ?>" href="<?php echo $password; ?>"><?php echo $text_password; ?></a></li>
                        <li><a data-toggle="tooltip" data-placement="top" title="<?php echo $text_address; ?>" href="<?php echo $address; ?>"><?php echo $text_address; ?></a></li>
                        <li><a data-toggle="tooltip" data-placement="top" title="<?php echo $text_history; ?>" href="<?php echo $history; ?>"><?php echo $text_history; ?></a></li>
                        <li><a data-toggle="tooltip" data-placement="top" title="<?php echo $text_download; ?>" href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>
                      </ul>
                    </li>
                  </ul>
                </div>

                 <div class="span3 bullet_arrow2">
                  <h4></h4>
                   <ul>
                    <li><?php echo $text_information; ?>
                      <ul>
                        <?php foreach ($informations as $information) { ?>
                        <li><a data-toggle="tooltip" data-placement="top" title="<?php echo $information['title']; ?>" href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a></li>
                        <?php } ?>
                        
                      </ul>
                    </li>
                  </ul>
                </div>
            </div>
      
        <h2 class="page-header"><span>Store Categories</span></h2>
        <div class="sidebar-line"><span></span></div>
              <div style="margin-top:40px" class="row-fluid store-categories">
                              <?php foreach ($categories as $category_1) { ?>
                              <div class="span3 bullet_arrow2">
                                  <h4><?php echo $category_1['name']; ?>'s</h4>
                                    <?php if ($category_1['children']) { ?>
                                              <ul>
                                                <?php foreach ($category_1['children'] as $category_2) { ?>
                                                <li><a data-toggle="tooltip" data-placement="top" title="<?php echo $category_2['name']; ?>" href="<?php echo $category_2['href']; ?>"><?php echo $category_2['name']; ?></a>
                                                  <?php if ($category_2['children']) { ?>
                                                  <ul>
                                                    <?php foreach ($category_2['children'] as $category_3) { ?>
                                                    <li><a data-toggle="tooltip" data-placement="top" title="<?php echo $category_3['name']; ?>" href="<?php echo $category_3['href']; ?>"><?php echo $category_3['name']; ?></a></li>
                                                    <?php } ?>
                                                  </ul>
                                                  <?php } ?>
                                                </li>
                                                <?php } ?>
                                              </ul>
                                              <?php } ?>
                              </div>
                              <?php } ?>

            </div>
              <div class="span12" style="margin-left:0px;margin-top:10px">
                <h4>Popular Store Tag's</h4>
                                <div class="store-tags">
                                <?php foreach($categories_char as $row){ ?>
                                    <a title="Total <?php echo $row['total']; ?> Items on this category" data-placement="bottom" data-toggle="tooltip" href="<?php echo $row['href']; ?>"><?php echo $row['name']; ?></a>
                                <?php } ?>
                                </div>
                            </div>
  </div>
  <div class="span3 sidebar">
       <?php echo $column_right; ?>
  </div>
 </div>
<?php echo $footer; ?>  